import React, { Component } from 'react'

import SetState from './containers/1.setState'
import LazyLoad from './containers/2.懒加载'
import Hook from './containers/3.hook'
import Fragment from './containers/4.Fragment'
import Context from './containers/5.context'
import Optimize from './containers/6.组件优化'
import RenderProps from './containers/7.renderProps'
import Error from './containers/8.错误边界'

export default class App extends Component {
  render() {
    return (
      <div>
        {/* <SetState a={66}></SetState> */}
        {/* <LazyLoad></LazyLoad> */}
        {/* <Hook></Hook> */}
        {/* <Fragment></Fragment> */}
        {/* <Context></Context> */}
        {/* <Optimize></Optimize> */}
        {/* <RenderProps></RenderProps> */}
        <Error></Error>
      </div>
    )
  }
}
